package com.hswealth;
/**
 *    @author    daixf41752
 *    @Date 2021-09-08 17:22:20    
 *
 */

import java.awt.Image;

import javax.swing.ImageIcon;

public class Bullet extends Thread{
	HeroPlane heroPlane = new HeroPlane();
	//子弹在画板上的位置
	int x, y;
	int width = 35, height = 45;
	//子弹移动速度
	int speed = 8;
	
	Image img = new ImageIcon("img/bullet.png").getImage();


	public Bullet() {
		super();
	}

		
	public Bullet(int x, int y) {
		super();
		this.x = x;
		this.y = y;
	}


	public Bullet(int x, int y, int width, int height) {
		super();
		this.x = x;
		this.y = y;
		this.width = width;
		this.height = height;
	}


}
